package com.ruoyi.teacher.service;

import com.ruoyi.teacher.domain.StuZxjInfo;

import java.util.List;

public interface IStuZxjInfoService {
    int updateStuZxjInfo(StuZxjInfo stuZxjInfo);

    StuZxjInfo getByZxjId(Long zxjId);

    int saveStuZxjInfo(StuZxjInfo stuZxjInfo);

    List<StuZxjInfo> getByUserId(Long userId);

    int deleteByZxjIds(Long[] zxjIds);

    List<StuZxjInfo> getStuZxjInfoList(StuZxjInfo stuZxjInfo);

    /**
     *
     * @param zxjId
     * @param userId
     * @return 返回 是、否 能审批
     */
    public boolean nengshengpi(Long zxjId,Long userId);

    /**
     * 判断当前为新增还是更新
     * @param zxjId
     * @return
     */
    public boolean isNewShengpi(Long zxjId);


}